﻿// Decompiled with JetBrains decompiler
// Type: UnityEngine.Rendering.BatchVisibility
// Assembly: UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: E6AE6B5A-2752-4B07-9528-C8B77C62CE79
// Assembly location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.dll
// XML documentation location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.xml

#nullable disable
namespace UnityEngine.Rendering
{
  /// <summary>
  ///   <para>Describes the visibility for a batch.</para>
  /// </summary>
  public struct BatchVisibility
  {
    /// <summary>
    ///   <para>Input property specifying the offset into the BatchCullingContext.visibleIndices where the batch's visibile indices start. (readonly).</para>
    /// </summary>
    public readonly int offset;
    /// <summary>
    ///   <para>Input property specifying the total number of instances in the batch. (readonly).</para>
    /// </summary>
    public readonly int instancesCount;
    /// <summary>
    ///   <para>Output property that has to be set to the number of visible instances in the batch after culling.</para>
    /// </summary>
    public int visibleCount;
  }
}
